package com.nlelpct.manage.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 小马
 * @since 2023-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("role")
public class Role extends Model<Role> {

    private static final long serialVersionUID = 1L;

    /**
     * 角色id
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 角色名称
     */
    private String jsmc;

    /**
     * 角色描述
     */
    private String jsms;

    /**
     * 企业id
     */
    private String companyId;

    /**
     * 是否内置标识（0：否，1：是）
     */
    private Integer sfnz;

    /**
     * 创建人
     */
    private String employeeId;

    /**
     * 创建时间
     */
    private LocalDateTime cjsj;

    /**
     * 系统ID
     */
    private String systemId;

    /**
     * (0：禁用；1：启用)
     */
    private Integer zt;


    public static final String ID = "id";

    public static final String JSMC = "jsmc";

    public static final String JSMS = "jsms";

    public static final String COMPANY_ID = "company_id";

    public static final String SFNZ = "sfnz";

    public static final String EMPLOYEE_ID = "employee_id";

    public static final String CJSJ = "cjsj";

    public static final String SYSTEM_ID = "system_id";

    public static final String ZT = "zt";


}
